<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <url> 
        <loc><?php echo Router::url('/',true); ?></loc> 
        <changefreq>daily</changefreq> 
        <priority>1.0</priority> 
    </url> 
    <!-- jobbers -->     
    <?php foreach($bookmakers as $bookmaker) { ?>
    <url> 
        <loc><?php echo Router::url('/Bookmaker/',true).$bookmaker["Bookmaker"]["nome_slug"]; ?></loc>
        <lastmod><?php echo CakeTime::format(isset($bookmaker["Bookmaker"]["dt_ins"])?$bookmaker["Bookmaker"]["dt_ins"]:$bookmaker["Bookmaker"]["dt_mod"],"%Y-%m-%d"); ?></lastmod> 
        <priority>0.8</priority> 
    </url> 
    <?php } ?> 
    <!-- historical -->     
    <?php foreach($historical as $history) { ?>
    <url> 
        <loc><?php echo Router::url('/matches/',true).$history["0"]["path"]; ?></loc>
        <lastmod>2014-01-01</lastmod> 
        <priority>0.8</priority> 
    </url> 
    <?php } ?> 
</urlset>